package com.heima.article.service;

import com.heima.model.article.dtos.ArticleVisitStreamMsg;

/**
 * 热点文章业务
 */
public interface HotArticleService {

    /**
     * 定时计算热点文章，进行缓存
     */
    public void computeHotArticle();

    void updateHotArticle(ArticleVisitStreamMsg streamMsg);
}
